﻿using System;
using System.Collections.Generic;
using System.Text;
using MINERP.COM;

namespace MINERP.MODEL.FoundationModel
{
    /// <summary>
    ///  格子实体类委外分格子与商户分格子，都用此实体
    /// </summary>
    public class Tb_OutShopGrid_Info
    {
        #region 私有字段
        private int _gridId;
        private int _outShopId;
        private DateTime _createTime;
        private int _operateId;
        private string _gridName;
        #endregion

        public OutProcessShop_Info OutShop { get; set; }
        public Shop_Info Shop { get; set; }
        public PhotoSubarea_Info SubArea { get; set; }
        public TempGridStatus OutShopGridStatus { get; set; }

        /// <summary>
        /// 此商户在数据库中被分配的产品的总数
        /// </summary>
        public int ProductsTotalCount { get; set; }
        /// <summary>
        /// 已经放在格子里的产品总数
        /// </summary>
        public int ProductsCurrentCount { get; set; }


        #region 公开属性
        public int GridId
        {
            get { return _gridId; }
            set { _gridId = value; }
        }
        public int OutShopId
        {
            get { return _outShopId; }
            set { _outShopId = value; }
        }
        public DateTime CreateTime
        {
            get { return _createTime; }
            set { _createTime = value; }
        }
        public int OperateId
        {
            get { return _operateId; }
            set { _operateId = value; }
        }
        public string GridName
        {
            get { return _gridName; }
            set { _gridName = value; }
        }
        #endregion
    }
}
